home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc2_x
/
untcnvrs.sit
/
Unit Conversion
/
card_9124.txt
< prev
next >
Wrap
Text File
|
1990-11-02
|
4KB
|
148 lines
-- card: 9124 from stack: in
-- bmap block id: 2108
-- flags: 0000
-- background id: 5046
-- name: Addinfo
----- HyperTalk script -----
on closecard
lock screen
show card field "info1"
hide card field "info2"
show card button "more"
hide card button "previous"
end closecard
-- part 3 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=24 top=35 right=319 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 14
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: info1
-- part 5 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=24 top=35 right=319 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 14
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: info2
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=397 top=289 right=311 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Go Back
----- HyperTalk script -----
on mouseUp
visual effect zoom close
go back
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=397 top=266 right=288 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: More
----- HyperTalk script -----
on mouseUp
lock screen
hide card field "info1"
show card field "info2"
hide card button "more"
show card button "previous"
end mouseUp
-- part 6 (button)
-- low flags: 80
-- high flags: A003
-- rect: left=397 top=266 right=288 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Previous
----- HyperTalk script -----
on mouseUp
lock screen
show card field "info1"
hide card field "info2"
show card button "more"
hide card button "previous"
end mouseUp
-- part contents for card part 3
----- text -----
On occasion, you might require to do a conversion that is not listed.
Knowing how to convert between two metric units might be helpful
at times. Here is a list of metric conversion factors that might be helpful:
------------------------------------------------
Prefix Abbriviation Factor
-------------------------------------------------
deca da 10
hecto h 100
kilo k 1000
-------------------------------------------------
deci d 0.1
centi c 0.01
milli m 0.001
-------------------------------------------------
Remeber to square the factor when dealing with
area, and to cube it, when dealing with vlume.
-- part contents for card part 5
----- text -----
It might also be necessary to convert between some imperial units
This is a little more complicated, as it does not use the base 10 number system like metric conversions. Here are the main ones:
----------------------------------------------------------------------------------------
1 Foot = 12 Inches
1 Yard = 3 Feet
1 Mile = 1760 Yards
1 Acre = 4840 Sq. Yards
When dealing with units of area, one must remember
to square the linear units, and when dealing with
volumes, one must cube these linear units.
----------------------------------------------------------------------------------------
1 Pint = 16 Ounces (Liq.)
1 Quart = 2 Pints
1 Gallon = 4 Quarts
------------------------------------------------------------------------
1 Ponud = 16 Ounces